from forum.handler import BaseHandler,UserHandler,TopicHandler,CommentHandler,CollectionHandler,FollowHandler


handlers =[
    ('/',BaseHandler.IndexHandler),
    ('/api/user/add/?',UserHandler.AddUserHandler), 
    ('/api/send_msg/?',UserHandler.SendEmailHandler), 
    ('/api/user/login/?',UserHandler.LoginHandler), 
    ('/api/user/get/?',UserHandler.GetUserHandler), 
    ('/api/user/update/?',UserHandler.UpdateUserHandler), 
    ('/api/topic/all/?',TopicHandler.GetManyTopicHandler), #完成
    ('/api/topic/id/?',TopicHandler.GetOneTopicHandler), 
    ('/api/topic/add/?',TopicHandler.AddTopicHandler), 
    ('/api/topic/my/?',TopicHandler.GetMyTopicHandler), 
    ('/api/comment/get/tid/?',CommentHandler.GetCommentHandler),
    ('/api/comment/add/?',CommentHandler.AddCommentHandler), 
    ('/api/comment/my/?',CommentHandler.GetMyCommentHandler), 
    ('/api/collection/add/?',CollectionHandler.AddCollectionHandler), 
    ('/api/collection/my/?',CollectionHandler.GetMyCollectionHandler), 
    ('/api/collection/delete/?',CollectionHandler.DeleteMyCollectionHandler),
    ('/api/follow/add/?',FollowHandler.AddFollowHandler),
    ('/api/follow/judge/?',FollowHandler.GetFollowHandler),
    ('/api/follow/delete/?',FollowHandler.DeleteFollowHandler),
    ('/api/follow/get/?',FollowHandler.GetFollowHandler),
    ('/api/follow/num/?',FollowHandler.FollowNumHandler),
]